package com.wsj.service;

import java.util.List;
import java.util.Map;

import com.wsj.util.exception.BusinessException;
import com.wsj.util.page.PageResultSet;
import com.wsj.web.vo.homeSite.DirectSeedClass;

public interface IDirectSeedClassServ {

	public void add(DirectSeedClass directSeedClass) throws BusinessException;
	
	public void update(DirectSeedClass directSeedClass) throws BusinessException;
	
	public void del(DirectSeedClass directSeedClass) throws BusinessException;
	
	public DirectSeedClass loadById(Integer id) throws BusinessException;
	
	public List<DirectSeedClass> loadByNameId(Integer directSeedNameId) throws BusinessException;
	
	public boolean checkName(String lanmuname,Integer directSeedNameId) throws BusinessException;
	
	public Map<String,String> loadByNameIdMap(Integer directSeedNameId)throws BusinessException;
	
	public PageResultSet loadPageList(Integer nameId,String lanmuname,Short iftj, Short shanchu, String beginDate, String endDate, Integer page, Integer pageSize) throws BusinessException;

	public DirectSeedClass getDirectSeedClassBylanmuname(String directSeedClass_scdt)throws BusinessException;

	public List getDirectSeedClassByParentId(Integer id)throws BusinessException;
	
	
}
